{% extends "base.html" %}
{% block title %}{{user.nickname}}{% end %}

{% block head %}
{% end %}
{% block body %}
<div class="container">
    <div class="row">
        <div class="span7">
            <h1>{{ user.nickname }}</h1>
            {% if userdetail %}
                {{ userdetail.intro }}
            {% end %}
            <br class="c"/>
            {% for r in recipes %}
                <a href="/recipe/{{ r.id }}">{{ r.title }} </a>
                <br/>
            {% end %}
        </div>
        <div class="span3">
            {% if current_user and current_user.get('uid') == user.id %}
             <a href="/account/basic/">set my info </a>
            {% end %}

        </div>
    </div>
</div>
{% end %}
